﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CanDoo.Oil.Core.DTOs
{
    /// <summary>
    /// 1.1.14换油桶请求报文。
    /// </summary>
    public class OilDrumReqInfo
    {
        /// <summary>
        /// epc
        /// </summary>
        [Display(Name = "epc")]
        [Required]
        public string epc { get; set; }

        /// <summary>
        /// tid
        /// </summary>
        [Display(Name = "tid")]
        [Required]
        public string tid { get; set; }

        /// <summary>
        /// 门店号
        /// </summary>
        [Display(Name = "门店号")]
        [Required]
        public string storeNo { get; set; }
        /// <summary>
        /// 终端编号
        /// </summary>
        [Display(Name = "终端编号")]
        [Required]
        public string terminalNo { get; set; }
        /// <summary>
        /// 换桶通道
        /// </summary>
        [Display(Name = "换桶通道")]
        [Range(1,3)]
        [Required]
        public int oilPort { get; set; }
    }
    

}
